package com.flyco.modules.fms.service;

import com.flyco.modules.fms.entity.FmsCategorySub;
import com.flyco.modules.fms.entity.FmsCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 科目大类
 * @Author: flyco
 * @Date:   2021-02-19
 * @Version: V1.0
 */
public interface IFmsCategoryService extends IService<FmsCategory> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(FmsCategory fmsCategory,List<FmsCategorySub> fmsCategorySubList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(FmsCategory fmsCategory,List<FmsCategorySub> fmsCategorySubList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (Long id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
